package com.cyf.db.mapper.ad;

import com.cyf.db.bean.ad.AdOrderProcess;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 广告订单的详细流程
 * Created by hfy on 2017/5/19.
 */

public interface AdOrderProcessMapper {

    @Insert("insert into ad_orderprocess(payOrderNo, status, createdTime, descInfo) " +
            "values(#{adOrderProcess.payOrderNo}, #{adOrderProcess.status}, #{adOrderProcess.createdTime}, #{adOrderProcess.descInfo})")
    void insertAdOrderProcess(@Param("adOrderProcess") AdOrderProcess adOrderProcess);
}
